/*
 * @Author: humengchuan 531537052@qq.com
 * @Date: 2024-12-24 16:31:48
 * @LastEditors: humengchuan 531537052@qq.com
 * @LastEditTime: 2024-12-24 16:44:14
 * @FilePath: \projecte:\学习\react\react-optimize-ts\src\views\graph\search.tsx
 * @Description: 
 */
import React from 'react'
import { Button } from 'antd'

interface SearchProps {
  handeAddItem: () => void
}
export default function Search({ handeAddItem }: SearchProps) {
  return (
    <div>
      <Button color="primary" variant="outlined" onClick={handeAddItem}>
        新增
      </Button>
    </div>
  )
}
